package com.lucenly.spell.adapter

import android.view.LayoutInflater
import android.view.ViewGroup
import com.lucenly.spell.R
import com.youth.banner.adapter.BannerAdapter

class ImageAdapter(data: List<Int>?) : BannerAdapter<Int,ImageHolder>(data){

    override fun onCreateHolder(parent: ViewGroup, viewType: Int): ImageHolder {
            val view =
                LayoutInflater.from(parent.context).inflate(R.layout.item_banner, parent, false)
            return ImageHolder(view)
    }

    override fun onBindView(holder: ImageHolder?, data: Int?, position: Int, size: Int) {
    }
}